home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / s / street03.mod < prev    next >
Encoding:
Text File  |  1994-08-04  |  3.1 KB  |  89 lines

  1. STREET03.MOD--Addition to Tolkien's ENHANCE.MOD
  2. Streetdoc #1 @2503
  3. Fri Dec 20 19:28:28 1991
  4.  
  5.  
  6.  /***********************************************************
  7.    MODNAME:    STREET03.MOD        Date: 12/20/1991
  8.    Difficulty: NOT
  9.    Version:    4.20
  10.    Author:     Streetdoc 1@2503 --Addition to the ENHANCE.C mod by Tolkien
  11.    Function: Adds "Fancy Ansi" to your defaults menu. 
  12.  
  13.    Why:  If you are using the ENHANCE.C mod by Tolkien then you can use
  14.      this to add the fancy_ansi sysstatus bit in your D)efaults menu.
  15.      This way, the users can select whether or not they use the Fancy
  16.      Ansi stuff.
  17.  
  18.      BTW, Tolkien, GREAT MOD!!! :) Thanks!
  19.  
  20.    (Insert favorite disclaimer here........) 
  21.     
  22.          
  23. ****************************************************************/
  24.  
  25.  
  26.   Search for these lines in defaults.c in void print_cur_stat()
  27.  
  28.  
  29. pl("5. Configured Q-scan");
  30.   pl("6. Change password");
  31.   pl("7. Update macros");
  32.   if (okansi()) {
  33.     pl("8. Change colors");
  34.     npr("9. Full screen editor: %s\r\n",
  35.       ((thisuser.defed) && (thisuser.defed<=numed))?
  36.         editors[thisuser.defed-1].description:"None.");
  37.     npr("A. Extended colors   : %s\r\n",
  38.       (thisuser.sysstatus & sysstatus_funky_colors)?"Yes":"No");
  39.   }
  40.   npr("B. Optional lines    : %d\r\n",thisuser.optional_val);
  41.   if (okansi()) {                                             /* ADD */
  42.   npr("C. Fancy ANSI        : %s\r\n",                        /* ADD */
  43.      (thisuser.sysstatus & sysstatus_fancy)?"Yes":"No");      /* ADD */
  44.      }                                                        /* ADD */
  45.  
  46.  Also in defaults.c in void defaults.....
  47.  
  48.  do {
  49.     nl();
  50.     helpl=4;
  51.     if (okansi()) {
  52.       prt(2,"Defaults: (1-9,A-B,?,Q) : ");
  53.       ch=onek("Q?123456789ABCW");            /* add the C */
  54.     } else {
  55.       prt(2,"Defaults: (1-7,B,?,Q) : ");
  56.       ch=onek("Q?1234567BW");
  57.     }
  58.  
  59.  
  60.     Further Down......
  61.  
  62. case 'B':
  63.         optional_lines();
  64.     break;
  65. case 'C':                                            /* ADD */
  66.         if (thisuser.sysstatus & sysstatus_fancy)    /* ADD */
  67.           thisuser.sysstatus ^= sysstatus_fancy;     /* ADD */
  68.         nl();                                        /* ADD */
  69.         prt(5,"Use Fancy ANSI? ");                   /* ADD */
  70.         if (yn())                                    /* ADD */
  71.       thisuser.sysstatus |= sysstatus_fancy;     /* ADD */
  72.     break;                                       /* ADD */
  73. /*************************************************************************/
  74.  One more thing.....
  75.  In ENHANCE.C in void spin(blah,blah) I changed this line to allow regular
  76.  Ansi users to still have the original colors. The way it worked before was
  77.  Non-Fansy_ansi users only had white instead of the intended color.
  78.  
  79.  
  80.   }
  81.   } else {
  82.     outstr(s);   /* changed to prt(d1,s); */
  83.   }
  84.   echo = i1;
  85.  
  86. /* This stuff works for me....if you have a problem, I'm not responsible */
  87.          2Streetdoc's Bar and Grill--7Tuscaloosa, Alabama--4205-391-4982
  88.         3Autovalidation of WWIVnet Sysops--1WWIVnet 2503/VirtualNet 2503 
  89.                     7Soon to be using Intel's 14.4EX Modem!               
  90.